package com.toKnow.model.entity;

import java.sql.Timestamp;

public class ColumnPub {

    private Integer id;
    private String title;
    private Integer author_id;
    private Timestamp publish_date;
    private Integer read_number;
    private Integer like_number;
    private Integer comment_number;
    private Integer collect_number;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(Integer author_id) {
        this.author_id = author_id;
    }

    public Timestamp getPublish_date() {
        return publish_date;
    }

    public void setPublish_date(Timestamp publish_date) {
        this.publish_date = publish_date;
    }

    public Integer getRead_number() {
        return read_number;
    }

    public void setRead_number(Integer read_number) {
        this.read_number = read_number;
    }

    public Integer getLike_number() {
        return like_number;
    }

    public void setLike_number(Integer like_number) {
        this.like_number = like_number;
    }

    public Integer getComment_number() {
        return comment_number;
    }

    public void setComment_number(Integer comment_number) {
        this.comment_number = comment_number;
    }

    public Integer getCollect_number() {
        return collect_number;
    }

    public void setCollect_number(Integer collect_number) {
        this.collect_number = collect_number;
    }

    @Override
    public String toString() {
        return "columnPub{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", author_id=" + author_id +
                ", publish_date=" + publish_date +
                ", read_number=" + read_number +
                ", like_number=" + like_number +
                ", comment_number=" + comment_number +
                ", collect_number=" + collect_number +
                '}';
    }
}
